package org.zjkoye.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zjkoye
 * @since 2024-06-23
 */
@Schema(name = "Business", description = "")
public class Business implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "business_id", type = IdType.AUTO)
    private Integer businessId;

    private Integer customerId;

    private String businessName;

    private String businessStatus;

    private String installationAddress;

    private String operatorOrderNumber;

    private String operatorOrderType;

    private LocalDate operatorOrderReceiveDate;

    private LocalDate operatorOrderReturnDate;

    private String businessNumber;

    private String orderStatus;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private String dataStatus;

    private String operator;

    private String regionName;

    public void setRegionName(String regionName) {this.regionName = regionName;}

    public String getRegionName() {return regionName;}

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(String businessStatus) {
        this.businessStatus = businessStatus;
    }

    public String getInstallationAddress() {
        return installationAddress;
    }

    public void setInstallationAddress(String installationAddress) {
        this.installationAddress = installationAddress;
    }

    public String getOperatorOrderNumber() {
        return operatorOrderNumber;
    }

    public void setOperatorOrderNumber(String operatorOrderNumber) {
        this.operatorOrderNumber = operatorOrderNumber;
    }

    public String getOperatorOrderType() {
        return operatorOrderType;
    }

    public void setOperatorOrderType(String operatorOrderType) {
        this.operatorOrderType = operatorOrderType;
    }

    public LocalDate getOperatorOrderReceiveDate() {
        return operatorOrderReceiveDate;
    }

    public void setOperatorOrderReceiveDate(LocalDate operatorOrderReceiveDate) {
        this.operatorOrderReceiveDate = operatorOrderReceiveDate;
    }

    public LocalDate getOperatorOrderReturnDate() {
        return operatorOrderReturnDate;
    }

    public void setOperatorOrderReturnDate(LocalDate operatorOrderReturnDate) {
        this.operatorOrderReturnDate = operatorOrderReturnDate;
    }

    public String getBusinessNumber() {
        return businessNumber;
    }

    public void setBusinessNumber(String businessNumber) {
        this.businessNumber = businessNumber;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(String dataStatus) {
        this.dataStatus = dataStatus;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public String toString() {
        return "Business{" +
            "businessId = " + businessId +
            ", customerId = " + customerId +
            ", businessName = " + businessName +
            ", businessStatus = " + businessStatus +
            ", installationAddress = " + installationAddress +
            ", operatorOrderNumber = " + operatorOrderNumber +
            ", operatorOrderType = " + operatorOrderType +
            ", operatorOrderReceiveDate = " + operatorOrderReceiveDate +
            ", operatorOrderReturnDate = " + operatorOrderReturnDate +
            ", businessNumber = " + businessNumber +
            ", orderStatus = " + orderStatus +
            ", createdAt = " + createdAt +
            ", updatedAt = " + updatedAt +
            ", dataStatus = " + dataStatus +
            ", operator = " + operator +
        "}";
    }
}
